package com.elh.nio.client;

import java.io.IOException;
import java.net.Socket;

/**
 * @author liulei
 **/
public class Client {

    public static void main(String[] args) throws IOException, InterruptedException {
        System.out.println("client连接开始=" + System.currentTimeMillis());
        Socket socket = new Socket("localhost",8088);
        System.out.println("client连接介绍=" + System.currentTimeMillis());
        Thread.sleep(Integer.MAX_VALUE);
        socket.close();
    }
}
